home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-05-30 | 1.5 KB | 43 lines |
- # Copyright (c) 1987 Regents of the University of California.
- # All rights reserved.
- #
- # Redistribution and use in source and binary forms are permitted provided
- # that the above copyright notice and this paragraph are duplicated in all
- # such forms and that any documentation, advertising materials, and other
- # materials related to such distribution and use acknowledge that the software
- # was developed by the University of California, Berkeley. The name of the
- # University may not be used to endorse or promote products derived from this
- # software without specific prior written permission. THIS SOFTWARE IS
- # PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
- # WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS
- # FOR A PARTICULAR PURPOSE.
- #
- # @(#)Makefile 5.9 (Berkeley) 88/09/15
- #
- # Makefile for Torbo C, Borland C++ etc, Peter Hadfield, May 1993.
-
- CFLAGS= -O2 -ms -w+ -c -Fc
- SRCS= indent.c io.c lexi.c parse.c comment.c args.c
- OBJS= indent.obj io.obj lexi.obj parse.obj comment.obj args.obj
-
- .c.obj:
- $(CC) $(CFLAGS) $*.c
-
- all: indent.exe
-
- indent.exe: $(OBJS)
- $(CC) $(OBJS)
-
- indent.obj: indent.c globals.h proto.h codes.h
-
- lexi.obj: lexi.c globals.h proto.h codes.h
-
- parse.obj: parse.c globals.h proto.h codes.h
-
- io.obj: io.c globals.h proto.h
-
- comment.obj: comment.c globals.h proto.h
-
- args.obj: args.c globals.h proto.h
-
-